package com.jingxing.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class WorksInfo implements Serializable {
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("选手id")
    private String playerId;
    @ApiModelProperty("比赛等级:0海选；1初赛；2复赛；3决赛；9复活赛；默认0")
    private Integer competitionLevel;
    @ApiModelProperty("作品名")
    private String workName;
    @ApiModelProperty("作品地址")
    private String workUrl;
    @ApiModelProperty("分享链接")
    private String shareLinks;
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @ApiModelProperty("逻辑删除：0未删除；1删除；默认0")
    @TableLogic
    private Integer del;

}
